package com.project.Bean;

import java.time.LocalDate;
//import java.util.Date;

public class ShopBean {
    private int pk_id;
    private String s_name;

    private String s_factory;
    private int s_price;
    private LocalDate s_makedate;

    public ShopBean(int pk_id, String s_name, String s_factory, int s_price, LocalDate s_makedate) {
        this.pk_id = pk_id;
        this.s_name = s_name;
        this.s_factory = s_factory;
        this.s_price = s_price;
        this.s_makedate = s_makedate;
    }

    public ShopBean(String s_name, String s_factory, int s_price, LocalDate s_makedate) {
        this.s_name = s_name;
        this.s_factory = s_factory;
        this.s_price = s_price;
        this.s_makedate = s_makedate;
    }

    public ShopBean() {
    }

    public int getPk_id() {
        return pk_id;
    }

    public void setPk_id(int pk_id) {
        this.pk_id = pk_id;
    }

    public String getS_name() {
        return s_name;
    }

    public void setS_name(String s_name) {
        this.s_name = s_name;
    }

    public String getS_factory() {
        return s_factory;
    }

    public void setS_factory(String s_factory) {
        this.s_factory = s_factory;
    }

    public int getS_price() {
        return s_price;
    }

    public void setS_price(int s_price) {
        this.s_price = s_price;
    }

    public LocalDate getS_makedate() {
        return s_makedate;
    }

    public void setS_makedate(LocalDate s_makedate) {
        this.s_makedate = s_makedate;
    }

    @Override
    public String toString() {
        return "ShopBean{" +
                "pk_id=" + pk_id +
                ", s_name='" + s_name + '\'' +
                ", s_factory='" + s_factory + '\'' +
                ", s_price=" + s_price +
                ", s_makedate=" + s_makedate +
                '}'+"\n";
    }
}
